package com.project.api.common.auth;

import com.project.api.common.ApiResponse;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
@Controller
public class Redirect {
    @RequestMapping(value="/unlogin",method = {RequestMethod.GET,RequestMethod.POST})
    @ResponseBody
    public String UnLogin(HttpServletRequest request, Model model){
        return ApiResponse.NOLOGIN();
    }
}
